How to make the user-defined command alias for Linux permanently effective.
The alias (Chinese called "Alias") allows you to redefine the Shell command in Linux with a shorter name, simplifying the command line input. If you often deal with the
alias(Chinese is called"aliases"allows a shorter name to be used to redefineLinuxin theShellcommand, which simplifies the input of the command line. If often withCLIdeal with, then usealiasnot only will save time, but also can improve efficiency,
My new understanding of alias: Using alias to make rm safer, aliasrm
Rm's tragedy always happens inadvertently. Therefore, whether in shell scripts or interactive bash environments, you should always think twice before executing rm commands. As a
In detail, in ancient classical Chinese is "spy suitors words", now become "detailed explanation" of the abbreviation.Alias is the counterpart of Doskey in Ms-doc Cmds, which means "alias" or "pseudonym"Alias is powerful in that it can be reduced to
The command alias function of a Linux system the command alias function will use a large number of commands during the management and maintenance of the Linux system, and some long commands or usage are often used, repeated and frequent input of a
As an iOS developer, it is often necessary to use command lines. Sometimes a long string of commands is really annoying, especially some common commands. We need to repeat the keyboard over and over again. However, laruence is generally not so
First introduce the alias of the command, how to view it? Let's use the which command to see what the complete command is [[email protected] ~]# which lsalias ls= ' ls--color=auto ' /usr/bin/ls[[email protected] ~]# which Llalias ll= ' ls-l-
This is a creation in
Article, where the information may have evolved or changed.
This article for the original article, reprint annotated source, welcome to sweep the code to pay attention flysnow_org to the public number or website
Recently checked the server when found that there is not enough disk space, just have two hard drives, a hard disk is still empty, just through the FTP server alias function to add space, so no need to rebuild the machine
DescriptionThe virtual
Sometimes in our current shell, there is an alias command available, but when we sh script.sh or./script.sh, we find the error alias command not found problem.
What the hell is going on here? Because when you execute a new script with the current
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.